package com.zbkj.common.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单详情移动端数据响应对象
 +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderInfoFrontDataResponse对象", description="订单详情移动端数据响应对象")
public class MerchantApplyBrandListResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "申请ID")
    private Integer id;

    @ApiModelProperty(value = "申请用户ID")
    private Integer uid;

    @ApiModelProperty(value = "商户名称")
    private String name;

    @ApiModelProperty(value = "商户分类ID")
    private Integer categoryId;

    @ApiModelProperty(value = "商户类型ID")
    private Integer typeId;

    @ApiModelProperty(value = "商户账号")
    private String account;

    @ApiModelProperty(value = "登录密码")
    private String password;

    @ApiModelProperty(value = "商户姓名")
    private String realName;

    @ApiModelProperty(value = "商户邮箱")
    private String email;

    @ApiModelProperty(value = "商户手机号")
    private String phone;

    @ApiModelProperty(value = "手续费(%)")
    private Integer handlingFee;

    @ApiModelProperty(value = "商户关键字")
    private String keywords;

    @ApiModelProperty(value = "商户地址")
    private String address;

    @ApiModelProperty(value = "是否自营：0-非自营，1-自营")
    private Boolean isSelf;

    @ApiModelProperty(value = "是否推荐:0-不推荐，1-推荐")
    private Boolean isRecommend;

    @ApiModelProperty(value = "审核状态：1-待审核，2-审核通过，3-审核拒绝")
    private Integer auditStatus;

    @ApiModelProperty(value = "拒绝原因")
    private String denialReason;

    @ApiModelProperty(value = "审核员ID")
    private Integer auditorId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "资质图片")
    private String qualificationPicture;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "商户logo")
    private String merchantLogo;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "省Id")
    private String provinceId;

    @ApiModelProperty(value = "省名称")
    private String provinceName;

    @ApiModelProperty(value = "市id")
    private String cityId;

    @ApiModelProperty(value = "市名称")
    private String cityName;


    @ApiModelProperty(value = "区/县id")
    private String districtId;

    @ApiModelProperty(value = "区/县名称")
    private String districtName;

    @ApiModelProperty(value = "镇/街道id")
    private String townId;

    @ApiModelProperty(value = "镇/街道名称")
    private String townName;


    @ApiModelProperty("村id")
    private String villageId;

    @ApiModelProperty(value = "村名称")
    private String villageName;


    @ApiModelProperty("入驻数据")
    private String applyData;

    @ApiModelProperty(value = "0 平台 1 品牌")
    private Integer brandId;

    @ApiModelProperty(value = "商户背景图", required = true)
    private String backImage;

    @ApiModelProperty(value = "商户头像", required = true)
    private String avatar;

    @ApiModelProperty(value = "商户logo（横）")
    private String rectangleLogo;

    @ApiModelProperty(value = "商户封面图")
    private String coverImage;

    @ApiModelProperty(value = "商户街背景图", required = true)
    private String streetBackImage;

    @ApiModelProperty(value = "监控摄像头数量")
    private Integer monitorNum;

    @ApiModelProperty(value = "套餐名称")
    private String groupName;

    @ApiModelProperty(value = "入驻时是否购买套餐")
    private Boolean isPayMonitorGroup;

    @ApiModelProperty(value = "入驻时是否需要支付")
    private Boolean isNeedPay;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal payPrice;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty("免费时长 1=免费一个月 2=免费一个季度 3=免费一年 4=免费两年  5=免费三年  6=免费五年 999=免费终身")
    private Integer freeMonitorTime;
}
